const Client = require("./index");
if (process.argv[2] === "publish") {
  new Client().publish(process.argv[3], process.argv[4]);
} else if (process.argv[2] === "toLatest") {
  new Client().toLatest(process.argv[3], process.argv[4], process.argv[5]);
} else {
  console.log("参数错误");
}
